package com.frank.oj.service.entity.training;

import com.baomidou.mybatisplus.extension.service.IService;
import com.frank.model.entity.training.TrainingCategory;
import com.frank.model.entity.training.TrainingProblem;
import com.frank.oj.model.vo.ProblemFullScreenListVO;
import com.frank.oj.model.vo.ProblemVO;

import java.util.List;

/**
 * @author frank
 * @Date 2024/3/23
 */
public interface TrainingProblemEntityService extends IService<TrainingProblem> {
    List<TrainingProblem> getTrainingListAcceptedCountByUid(List<Long> tidList, String currentUid);

    List<TrainingProblem> getPrivateTrainingProblemLisByPid(Long pid, String uid);

    List<Long> getTrainingProblemIdList(Long id);

    Integer getUserTrainingACProblemCount(String uid, Long gid, List<Long> trainingProblemIdList);

    List<ProblemVO> getTrainingProblemList(Long tid);

    List<TrainingProblem> getGroupTrainingListAcceptedCountByUid(List<Long> tidList, Long gid, String uid);

    List<ProblemFullScreenListVO> getTrainingFullScreenProblemList(Long tid);
}
